api_endpoint_discovery

Configuration for AF API Instance Discovery Report table resource.

Read/write properties

total_requests<Double>

Total Requests for this device in given sampled timeframe..

min_query_param<Integer>

Minimum number of query param..

max_query_param<Integer>

Maximum number of query param..

api_instance<String>

API Instance Name.
Maximum length = 255

api_endpoint<String>

API Endpoint Name.
Maximum length = 255

api_spec_name<String>

API Spec Name..

query_param<String>

Query Param json.
Maximum length = 256

is_auth<Double>

Is Auth enabled.

http_req_method<String>

HTTP Request Method..
Maximum length = 30

rpt_sample_time<Double>

Report Sample time..

status_reason<String>

Reason for HTTP Resp code..
Maximum length = 256

device_ip_address<String>

NetScaler IP Address..
Minimum length = 1
Maximum length = 64

total_bytes<Double>

Total bytes accounted by this URL in sampled timeframe..

__count<Double>

count..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/api_endpoint_discovery

Query-parameters:

report_end_time

Use this query-parameter to specify the end time until where summary for report is considered.

Possible Values:time in milli seconds

report_start_time

Use this query-parameter to specify the start time from which the summary for report is considered.

Possible Values:time in milli seconds

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "api_endpoint_discovery":[{
      "total_requests":<Double_value>,
      "min_query_param":<Integer_value>,
      "max_query_param":<Integer_value>,
      "api_instance":<String_value>,
      "api_endpoint":<String_value>,
      "api_spec_name":<String_value>,
      "query_param":<String_value>,
      "is_auth":<Double_value>,
      "http_req_method":<String_value>,
      "rpt_sample_time":<Double_value>,
      "status_reason":<String_value>,
      "device_ip_address":<String_value>,
      "total_bytes":<Double_value>,
      "__count":<Double_value>}]}